home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-17 | 522 b | 33 lines | [TEXT/CWIE] |
- // HParamBlockTask.h
-
- #ifndef HParamBlockTask_h
- #define HParamBlockTask_h
-
- #ifndef A5_h
- #include "A5.h"
- #endif
- #ifndef Task_h
- #include "Task.h"
- #endif
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
- class HParamBlockTask: public Task,
- public HParamBlockRec
- {
- private:
- A5 a5;
-
- static void Complete( HParamBlockRec *block );
- static void CompleteGlue();
-
- public:
- HParamBlockTask();
- ~HParamBlockTask() { Assert( !Running() ); }
-
- bool Running() const { return ioParam.ioResult > 0; }
- };
-
- #endif
-